home *** CD-ROM | disk | FTP | other *** search
- @if "%debug%"=="" echo off
- if not exist %ramdrv%\bin\macaddr.exe goto _end
- macaddr | tfind "address:" >%tmp%\_mac.tmp
- lmod /S. set macaddr=[$3][$4][$5][$6][$7][$8][+]set macaddr8=[$5][$6][$7][$8]<%tmp%\_mac.tmp >%tmp%\_mac.bat
- set macaddr=
- set macaddr8=
- call %tmp%\_mac.bat
- if not "%macaddr8%"=="????????" goto _end
- set macaddr=000000000000
- set macaddr8=00000000
- :_end
- for %%i in (%tmp%\_mac.*) do if exist %%i del %%i >%tmp%\nul
-